﻿using System.Collections.Generic;

namespace CSW.Framework.Linq.SchemaModel
{
    /// <summary>
    /// Unique Constraint.
    /// </summary>
    public class UniqueConstraint
    {
        private readonly List<TableColumn> m_Columns = new List<TableColumn>();

        /// <summary>
        /// Gets or sets the name of the constraint.
        /// </summary>
        /// <value>The name of the constraint.</value>
        public string ConstraintName { get; set; }

        /// <summary>
        /// Gets or sets the columns.
        /// </summary>
        /// <value>The columns.</value>
        public List<TableColumn> Columns 
        {
            get { return m_Columns; }
        }
    }
}
